package com.ruoyi.project.channel.smsInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 短信表 sms_info
 * 
 * @author CAIN
 * @date 2019-10-26
 */
public class SmsInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long smsId;
	/** 手机号码 */
	private String phoneNum;
	/** 验证码 */
	private String smsCode;
	/** 短信类型 */
	private String smsType;
	/** 用户id */
	private Long userId;
	private String useStatus;
	public void setSmsId(Long smsId) 
	{
		this.smsId = smsId;
	}

	public Long getSmsId() 
	{
		return smsId;
	}
	public void setPhoneNum(String phoneNum) 
	{
		this.phoneNum = phoneNum;
	}

	public String getPhoneNum() 
	{
		return phoneNum;
	}
	public void setSmsCode(String smsCode) 
	{
		this.smsCode = smsCode;
	}

	public String getSmsCode() 
	{
		return smsCode;
	}
	public void setSmsType(String smsType) 
	{
		this.smsType = smsType;
	}

	public String getSmsType() 
	{
		return smsType;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("smsId", getSmsId())
            .append("phoneNum", getPhoneNum())
            .append("smsCode", getSmsCode())
            .append("createTime", getCreateTime())
            .append("smsType", getSmsType())
            .append("userId", getUserId())
            .append("remark", getRemark())
            .toString();
    }

	public String getUseStatus() {
		return useStatus;
	}

	public void setUseStatus(String useStatus) {
		this.useStatus = useStatus;
	}
}
